#include("/include/pageForm.html",action="admin/qrcode/search")
<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="admin/qrcode/search" method="post">
	<div class="searchBar">
		<ul class="searchContent">
			<li>
				<label>支付宝账号：</label>
				<input type="text" name=aliAccount value="#(aliAccount)"/>
			</li>
			<li>
				<label>金额：</label>
				<input type="text" name=amount value="#(amount)"/>
			</li>
			<li>
				<label>备注：</label>
				<input type="text" name=remark value="#(remark)"/>
			</li>
		</ul>
		<ul class="searchContent">
			<li>
				<label>开始时间：</label>
				<input type="text" name="createTimeStart" value="#(createTimeStart)" class="date textInput readonly valid" datefmt="yyyy-MM-dd HH:mm:ss"/> 
			</li>
			<li>
				<label>结束时间：</label>
				<input type="text" name="createTimeEnd" value="#(createTimeEnd)" class="date textInput readonly valid" datefmt="yyyy-MM-dd HH:mm:ss"/> 
			</li>
		</ul>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			#auth()
				<li><a class="add" href="admin/qrcode/addPage" target="dialog" rel="addAccountDialog"  width="600" height="400"><span>添加</span></a></li>
			#end
			#auth()
				<li><a class="add" href="admin/qrcode/updatePage?id={sid}" target="dialog" rel="addAccountDialog"  width="600" height="400"><span>修改</span></a></li>
			#end
			#auth()
				<li><a class="delete" href="admin/qrcode/delete?id={sid}" target="ajaxTodo" title="确定要删除吗？"><span>删除</span></a></li>
			#end
		</ul>
	</div>

	<div id="w_list_print">
	<table class="list" style="width: 98%" targetType="navTab" asc="asc" desc="desc" layoutH="116">
		<thead>
			<tr>
				<th width="80">支付宝账号</th>
				<th width="100">URL</th>
				<th width="100">金额(元)</th>
				<th width="100">备注</th>
				<th width="100">创建日期</th>
				<th width="100">状态</th>
			</tr>
		</thead>
		<tbody>
			#for(item:items)
				<tr target="sid" rel="#(item.id)">
					<td>#(item.aliAccount)</td>
					<td>#(item.qrcodeUrl)</td>
					<td>#number(item.amount / 100,"##,###,##0.00")</td>
					<td>#(item.remark)</td>
					<td>#(item.createTime)</td>
					<td>
						#if(item.enable)启用#end
                        #if(item.enable == false)禁用#end
					</td>
				</tr>
			#end
		</tbody>
	</table>
	</div>
	
	#include("/include/page.html")

</div>
